﻿// *----------------------------------------------------------------
// Copyright (C) 2017 通通优品
// 版权所有。
// 
// 类名：TenantSysConfig.cs
// 功能描述：TongTongMall.MallWeb.Core
// 
// Create User：jym 2017/02/09
// 
// Edit User：UserName,EditTime
// Describe：Describe
// ----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TongTongMall.Domain.Entities;
using TongTongMall.Domain.Repositories.Attributes;

namespace TongTongMall.MallWeb.Core.Tenant
{
    [System.ComponentModel.DataAnnotations.Schema.Table("MallConfigInfo")]
    public class TenantSysConfig : AggregateRoot<long>
    {
        /// <summary>
        /// 上下文唯一标识
        /// </summary>
        [Identify]
        public long Id { get; set; }

        /// <summary>
        /// 租户Id
        /// </summary>
        public long? TenantID { get; set; }

        /// <summary>
        /// 用户id
        /// </summary>
        public long? UserID { get; set; }

        /// <summary>
        /// key
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// value
        /// </summary>
        public string Value { get; set; }
    }
}
